package com.tinem.platform.module.starter.sdk.api;

import com.tinem.platform.module.pojo.vo.link.AddReq;
import com.tinem.platform.module.pojo.vo.link.AddRes;
import com.tinem.platform.module.pojo.vo.link.EventReq;
import com.tinem.platform.module.pojo.vo.link.EventRes;
import com.tinem.platform.module.starter.sdk.core.BaseApi;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className UserService
 * @description TODO
 * @site 
 * @company 
 * @create 2020-09-04 16:12
 */
public class LinkService extends BaseApi {

    private static final String MODULE ="platform-cloud-service-link";

    public AddRes add(AddReq addReq){
        return post(MODULE,"/add.api",addReq).toJavaObject(AddRes.class);
    }

    public EventRes event(EventReq eventReq){
        return post(MODULE,"/event.api",eventReq).toJavaObject(EventRes.class);
    }
}
